import java.util.ArrayList;
public class testIEapp {
    public static void main(String[] args) {
       IEappliance list[]=new IEappliance[2];
       list[0] = new ITV("TCL001");
       list[1] = new IAIR("GREE001");
       
       for(IEappliance e:list) {
           e.turnOn();
           e.selfCheck();
           e.start();
           e.turnOff();
       }
    }
}